﻿using Microsoft.EntityFrameworkCore;
using Socloudng.BaseService.Models;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace Socloudng.BaseService.EntityFrameworkCore;

[ConnectionStringName(BaseServiceDbProperties.ConnectionStringName)]
public interface IBaseServiceDbContext : IEfCoreDbContext
{
    /* Add DbSet for each Aggregate Root here. Example:
     * DbSet<Question> Questions { get; }
     */
    DbSet<DataDictionary> DataDictionaries { get; set; }

    DbSet<DataDictionaryDetail> DataDictionaryDetails { get; set; }

    DbSet<Organization> Organizations { get; set; }

    DbSet<Job> Jobs { get; set; }

    DbSet<UserJob> UserJobs { get; set; }

    DbSet<UserOrganization> UserOrganizations { get; set; }
}
